import { createApp } from 'vue';
import App from './pages/index.vue';
import './index.css';

// 按需导入 ant-design-vue 组件
import {
  Button,
  Tooltip,
  Popover,
  Form,
  Input,
  Select,
  Switch,
  Tour
} from 'ant-design-vue';

const app = createApp(App);

// 注册需要的组件
app.use(Button);
app.use(Tooltip);
app.use(Popover);
app.use(Form);
app.use(Input);
app.use(Select);
app.use(Switch);
app.use(Tour);

app.mount('#root');
